Bug: When using the #error directive the string is not printed.
From the POV-Ray documentation:
--------------------
6.2.7.1 Text Message Streams
The syntax for a text message is any of the following:
TEXT_STREAM_DIRECTIVE:
#debug STRING | #error STRING | #warning STRING
Where STRING is any valid string of text including string identifiers or
functions which return strings.
--------------------
But when running the following scene:
--------------------
#declare String = "B must be a positive number!"
#error String
--------------------
POV-Ray prints the following to the message pane:
--------------------
File: C:\Programmer\POV-scenes\#Mine\35tests\Errorbug.pov Line: 5
#error String <----ERROR
Parse Error: User error directive hit.
Returned from renderer with error status
--------------------
IIRC this has been the behavior in any version of POV-Ray I know of.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|